package events
{
	import mx.events.FlexEvent;

	public class Me2DayAPIEvent extends FlexEvent
	{
		public static const GET_LATESTS : String = "events.me2dayapievent.get_latests";
		public static const GET_LATESTS_BYID : String = "events.me2dayapievent.get_latests_byid";
		public static const CREATE_POST : String = "events.me2dayapievent.create_post";
		public static const GET_POSTS : String = "events.me2dayapievent.get_posts";
		public static const CREATE_COMMENT  : String = "events.me2dayapievent.create_comment";
		public static const GET_FRIENDS  : String = "events.me2dayapievent.get_friends";
		public static const GET_PERSON  : String = "events.me2dayapievent.get_person";
		public static const GET_COMMENTS  : String = "events.me2dayapievent.get_comments";
		public static const GET_METOOS  : String = "events.me2dayapievent.get_metoos";
		public static const DO_METOO  : String = "events.me2dayapievent.do_metoo";
		public static const SET_DESCRIPTION  : String = "events.me2dayapievent.set_description";
		public static const GET_AUTH_URL  : String = "events.me2dayapievent.get_auth_url";
		public static const GET_FULL_AUTH_TOKEN  : String = "events.me2dayapievent.get_full_auth_token";		
		public static const SET_FULL_AUTH_TOKEN : String = "events.me2dayapievent.set_full_auth_token";
		public static const TRACK_COMMENTS : String = "events.me2dayapievent.TRACK_COMMENTS";
		public static const TRACK_COMMENTS_FIRST : String = "events.me2dayapievent.TRACK_COMMENTS_FIRST";
		
		public var data:Object;
		public function Me2DayAPIEvent(type:String, data:Object = null, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			this.data = data; 
			super(type, bubbles, cancelable);
		}
		
	}
}